
package com.acwer.drools.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;

import com.acwer.drools.domain.CHSDRG;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

//@CacheConfig(cacheNames="CHSDRGDao")
@Repository
//@Cacheable
public interface CHSDRGDao  extends BaseMapper<CHSDRG>{

	
	@Select({ "<script>", 
		"select * from CHS_DRG", 
		"where 1=1 and ",
			"DRG like concat('',#{ADRG},'%')",
			"</script>" 
		})
	public List<CHSDRG> selectDRGBylst(String ADRG);
	
}
